package com.ds.extend.aware;

import org.springframework.context.EnvironmentAware;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
public class EnvironmentAwareTest implements EnvironmentAware {

	@Override
	public void setEnvironment(Environment environment) {
		System.out.println( environment.getProperty("com.qxl.name"));
		System.out.println( environment.getProperty("author"));
	}
}
